package com.ling.bean;

import java.util.Date;

/**
 * 各种消息支持
 * 1.博客相关，博客评论:1,博客支持：11，博客反对：12，博客被收藏：13，博客被举报14
 * 2.用户被关注：2
 * 3.问题被回答：31，问题被举报32
 * 4.回答评论区：回答评论：4，回答支持：41，回答反对：42，回答举报：43
 */
public class UserMessage {
    private String id;

    private String userid;

    private String messagecontent;

    private Integer hasread;

    private Date edittime;

    private Integer messagetype;

    private String messagetypeid;

    private String fromuserid;

    private String fromusername;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }

    public String getUserid() {
        return userid;
    }

    public void setUserid(String userid) {
        this.userid = userid == null ? null : userid.trim();
    }

    public String getMessagecontent() {
        return messagecontent;
    }

    public void setMessagecontent(String messagecontent) {
        this.messagecontent = messagecontent == null ? null : messagecontent.trim();
    }

    public Integer getHasread() {
        return hasread;
    }

    public void setHasread(Integer hasread) {
        this.hasread = hasread;
    }

    public Date getEdittime() {
        return edittime;
    }

    public void setEdittime(Date edittime) {
        this.edittime = edittime;
    }

    public Integer getMessagetype() {
        return messagetype;
    }

    public void setMessagetype(Integer messagetype) {
        this.messagetype = messagetype;
    }

    public String getMessagetypeid() {
        return messagetypeid;
    }

    public void setMessagetypeid(String messagetypeid) {
        this.messagetypeid = messagetypeid == null ? null : messagetypeid.trim();
    }

    public String getFromuserid() {
        return fromuserid;
    }

    public void setFromuserid(String fromuserid) {
        this.fromuserid = fromuserid == null ? null : fromuserid.trim();
    }

    public String getFromusername() {
        return fromusername;
    }

    public void setFromusername(String fromusername) {
        this.fromusername = fromusername == null ? null : fromusername.trim();
    }
}